package coffee;

public class CoffeeBrewer extends Product {
     String model;
     String waterSupply;
     int numberOfCups;
     public CoffeeBrewer(String initialCode,String initialDescription,double initialPrice,String initialModel,String initialWatersupply,int initialNumberofcups)
     {
    	 super(initialCode,initialDescription,initialPrice);
    	 this.model=initialModel;
    	 this.waterSupply=initialWatersupply;
    	 this.numberOfCups=initialNumberofcups;
     }
     public String getModel()
     {
    	 return model;
     }
     public String getWaterSupply()
     {
    	 return waterSupply;
     }
     public int getNumberOfCups()
     {
    	 return numberOfCups;
     }
     public String toString()
     {
    	 return code + "_" + description + "_" + price + "_"
	                + model + "_" + waterSupply + "_" + numberOfCups;

     }
}

